package com.wu.pojo.po.orgPo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("机构基本信息PO")
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class OrgBase implements Serializable{

    private static final long serialVersionUID = 1L;

    @Size(min = 18,max = 18,message = "统一信用代码格式错误")
    @NotNull(message = "不能为空")
    private String orgId;
    @ApiModelProperty(value = "机构名")
    private String orgName;
    private String legalName;
    private String legalIdcard;
    private String legalIdPath;
    private String orgAddr;
    private String orgFileNo;
    private String orgFileName;
    private String orgFilePath;

    private String contactName;
    private String contIdcard;
    private String contIdcardName;
    private String contPath;
    private String mobile;
    private String legalIdName;
    private String belong;
    private String createTime;
    private Date updateTime;
    private String status;
    private String remark;
    private String orgType;//机构类别
    private String busiType;//行业类别
    private Date checkTime;

}
